package com.czwj.service;

import java.util.List;
import java.util.Map;

import com.czwj.entities.Project;


public interface ProjectService {

	List<Project> search(Map<String, Object> params);

	int getTotal(Map<String, Object> params);
	
	Project selectByPrimaryKey(int id);
	
	int getMaxSort(int supperid);

	Project findBySort(int supperid,int sort);

	int update(Project project);

	int insert(Project project);

	int delete(int id);

	int deleteBySupper(int sid);
	
	List<Project> findByUser(int id);
	
	List<Project> findVigilanceItem(int userid);

}
